package Month4;

import java.io.File;
import java.io.IOException;

public class a20250424FileTest
{
    public static void main(String[] args) throws IOException
    {
        File f = new File("mufile\\aaa");
        f.mkdirs();
        File src = new File(f,"a,txt");
        if(src.createNewFile())
        {
            System.out.println("创建成功");
        }
        else {
            System.out.println("创建失败");
        }

    }
}
